﻿using System.Collections.Generic;


namespace DailyFx
{
	/// <summary>
	///		Top level class, 
	///		- serves as basket of investment portfolio and trading strategy .
	///		- also, position and money management .
	/// </summary>
	public class Portfolio // : DailyFx.AI.IPloymentDriver
	{ 

		
		/// <summary>
		///		Contains all invests to playback  .
		/// </summary>
		private IList<Poi> _items = new List<Poi> () ;


		/// <summary>
		///		c'tor 
		/// </summary>
		public Portfolio ()
		{
		}

		/// <summary>
		///		adds a new paper to the portfolio .
		/// </summary>
		/// <param name="paper"></param>
		public void enlist ( Poi poi )
		{ 
			this._items.Add ( poi );
		}

		/// <summary>
		///		removes the paper with given symbol from the portfolio .
		/// </summary>
		public void delist ( string symbol )
		{
			//var paper = this.papiers.Find( p => p.Symbol == symbol );
			//this.papiers.Remove( paper );
		}



		/// <summary>
		///     Gets the money management policy .
		/// </summary>
		//public MoneyManager MoneyManager
		//{
		//	get;
		//	private set;
		//}

		/// <summary>
		///     Gets the position caliber manager ( sizer)
		/// </summary>
		//public PositionManager PositionManager
		//{
		//	get;
		//	private set;
		//}

	}
}
